package timberman.models;
import timberman.core.AssetUtils;

import com.badlogic.gdx.scenes.scene2d.ui.Image;

public class Wood extends Image {
		public static final int RIGHT_BRAND = 1;
		public static final int LEFT_BRAND = 2;
		public static final int NO_BRAND = 0;
		int kind;

		public Wood(int kind) {
			this.kind = kind;
			setSize(100, 100);
			switch (kind) {
			case NO_BRAND:
				setDrawable(AssetUtils.skin.getDrawable("tree"));
				break;
			case RIGHT_BRAND:
				setDrawable(AssetUtils.skin.getDrawable("tree_right"));
				break;
			case LEFT_BRAND:
				setDrawable(AssetUtils.skin.getDrawable("tree_left"));
				break;
			default:
				break;
			}
		}

		public int getKind() {
			return kind;
		}
	}
